var PageUtil = function(){
    //BEGIN: frameset --------------------------------------
    var __expandOut = true;
    var __leftWidth = null;
    this.displayFrame = function(sender,e){
        var lefter = top.document.getElementById("ExpandFrameSet");
        if(lefter.cols=="0,10,*"){
            lefter.cols="187,10,*";
            sender.className = "body_separate_expand";
        }else{
            lefter.cols = "0,10,*";
            sender.className = "body_separate";
        }
    };
    var displayFrame_old = function(sender,e){    
        var lefter = $("#body_left");
        if(__expandOut){
            __leftWidth = lefter.offsetWidth;
            sender.style.height = sender.offsetHeight;
            lefter.style.display = "none";
            __expandOut = false;
            sender.className = "body_separate";
        }else{
            lefter.style.width = __leftWidth;
            lefter.style.display = "block";
            __expandOut = true;
            sender.className = "body_separate_expand";
        }
    };
    this.expandInputArea = function(sender,e){
        var area = $("#ExpandForm");
        if(area!=null){
            if(area.style.display=="none"){
                area.style.display = "block";
            }else{
                area.style.display = "none";
            }
        }
    };
    //END: frameset ----------------------------------------
    
    //Print
    this.DoPrint = function(rTitle,rCount){
        window.print();
    };
    
};
var pageUtil = new PageUtil;
